package com.basics.api.response.channel;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;


@Data
public class ChannelListData implements Serializable {

    @ApiModelProperty(value = "频道ID")
    private Long id;

    @ApiModelProperty(value = "频道名称")
    private String channelName;

    @ApiModelProperty(value = "频道类型(TOPIC话题/论坛/圈子)")
    private String channelType;

    @ApiModelProperty(value = "图标")
    private String icon;

    @ApiModelProperty(value = "未读消息数量")
    private Integer msgNum;

    @ApiModelProperty("未读帖子数量")
    private Integer unReadNum;

    @ApiModelProperty(value = "最新帖子内容")
    private String content;

    @ApiModelProperty("昵称")
    private String nickName;

    @ApiModelProperty("显示时间(时间戳)")
    private Long showTime;

    @ApiModelProperty("消息提醒类型(0默认无消息,1有人评论,2有人回复,3有人点赞)")
    private Integer msgRemindType=0;

    @ApiModelProperty(value = "未读消息数量(全部)")
    private Integer allMsgNum;

    @ApiModelProperty(value = "消息来源头像")
    private String avatar;

    @ApiModelProperty(value = "用户ID(接收消息的人)")
    private Long userId;

    @ApiModelProperty(value = "是否免打扰")
    private Integer disturbFlag=0;

    @ApiModelProperty(value = "是否置顶")
    private Integer topFlag=0;
}
